<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();

String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
	<%@ include file="../common/common.jsp"%>
  	<script type="text/javascript" src="admin/exam/examSubjectList.js?v=32"></script>
  </head>
  <body>
  
  <!--  题目分类 -->
<div class="easyui-layout" data-options="fit:true">
	<div class="inner-header" data-options="region:'north'">
		<a href="#" class="easyui-linkbutton" iconCls="icon-back">导入</a>
		<a href="#" class="easyui-linkbutton" iconCls="icon-add">新增</a>
   		<a href="#" class="easyui-linkbutton" iconCls="icon-edit">编辑</a>
    	<a href="#" class="easyui-linkbutton" iconCls="icon-remove">删除</a>
	</div>
	<div class="tree-div" data-options="region:'west'">
		<div class="easyui-panel" title="部门列表" data-options="fit:true">
			<ul id="tree" class="easyui-tree">
			</ul>
		</div>
	</div>
	
	<!-- 试卷列表 -->
	<div class="inner-content" data-options="region:'center'">
		<table class="easyui-datagrid" title="试卷列表" fit="true" fitColumns="true" url="admin/exam/listExamPaperRows" method="get" toolbar="#toolbar2" 
			striped="true" rownumbers="true" pagination="true" remoteSort="false">
			<thead>
				<tr>
					<th field="number" width="30" align="center" sortable="true">名称</th>
					<th field="username" width="20" align="center" sortable="true">备注</th>
				</tr>
			</thead>
		</table>

		
		<!-- 数据表工具栏 -->
		<div class="toolbar" id="toolbar2">
			<div class="search-div">
				<label>员工编号：</label>
				<input type="text" class="easyui-textbox" />
				<label>用户名称：</label>
				<input type="text" class="easyui-textbox" />
				<a href="#" class="easyui-linkbutton" iconCls="icon-search">搜索</a>
	        </div>
			<div class="ctrl-div">
				<a href="#" class="easyui-linkbutton" iconCls="icon-add" plain="true">新增</a>
	       		<a href="#" class="easyui-linkbutton" iconCls="icon-edit" plain="true">编辑</a>
	        	<a href="#" class="easyui-linkbutton" iconCls="icon-remove" plain="true">批量删除</a>
			</div>
	    </div>
	    <!-- /数据表工具栏 -->
	</div>
</div>
  
  <!-- 
  <table id="dg"></table> 
  <div id="tb">
			<a href="javascript:add();" class="easyui-linkbutton" data-options="iconCls:'icon-add',plain:true">添加</a>
			<a href="javascript:edit();" class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true">修改</a>
			<a href="javascript:del();" class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true">删除</a>
			<a href="javascript:refresh();" class="easyui-linkbutton" data-options="iconCls:'icon-reload',plain:true">刷新</a>
	</div>
	
	添加
 	<div id="dlg" class="easyui-dialog" style="width: 420px;height: 360px;padding-left: 20px;"
		  closed="true" buttons="#dlg-buttons">
  			<form action="" id="fm" method="post">
  				<table style="line-height: 30px;">
  					<tr>
  							<th width="100">类别名称:</th>
  							<td ><input type="text" name="examSubjectName" class="easyui-validatebox" style="width:240px "></td>
  					</tr>
  					<tr>
  							<th width="100">是否可见:</th>
  							<td>
  							是:<input type="radio" name="examVisible" value="0" />
  							否:<input type="radio" name="examVisible" value="1" />
  							</td>
  					</tr>
  					<tr>
  							<th>描述:</th>
  							<td><textarea name="examDesc" cols="28" rows="5" class="easyui-validatebox"></textarea></td>
  					</tr>
  			</table>
  	</form>
  </div>
  <div id="dlg-buttons" style="text-align:center">
			<a href="javascript:saveOrEdit();" class="easyui-linkbutton" iconCls="icon-ok">保存</a>
			<a href="javascript:closeDialog();" class="easyui-linkbutton" iconCls="icon-cancel">关闭</a>
	</div> -->
  </body>
</html>
